<h2>Pengelolaan Data Guru</h2>
<br clear="all">
<?php
$jk = $this->referensi->get_list_referensi("jenis_kelamin");
$agama = $this->referensi->get_list_referensi("agama");
$sg = $this->referensi->get_list_referensi("status_guru");
$jp = $this->referensi->get_list_referensi("jenjang_pendidikan");
?>
<table class="detail">
    <tr>
        <th>Nama</th>
        <td>: <?php echo strtoupper($data['nama'])?><?php echo empty($data['gelar'])?"":",".$data['gelar'] ?></td>
    </tr>
    <tr>
        <th>NUPTK</th>
        <td>: <?php echo $data['nuptk']?></td>
    </tr>
    <tr>
        <th>NIP</th>
        <td>: <?php echo $data['nip']?></td>
    </tr>

    <tr>
        <th>Jenis Kelamin</th>
        <td>: <?php echo $jk[$data['jenis_kelamin_id']]?></td>
    </tr>
    <tr>
        <th>Tempat Tanggal Lahir</th>
        <td>: <?php echo $data['tempat_lahir']?>, <?php echo tanggal_indonesia($data['tanggal_lahir'])?></td>
    </tr>
    <tr>
        <th>Agama</th>
        <td>: <?php echo $agama[$data['agama_id']]?></td>
    </tr>
    <tr>
        <th>Alamat</th>
        <td>: <?php echo $data['alamat']?></td>
    </tr>
    <tr>
        <th>Telepon</th>
        <td>: <?php echo $data['telepon']?></td>
    </tr>
    <tr>
        <th>Handphone</th>
        <td>: <?php echo $data['hp']?></td>
    </tr>
        <tr>
        <th>Email</th>
        <td>: <?php echo $data['email']?></td>
    </tr>
    <tr>
        <th>Tanggal Diangkat</th>
        <td>: <?php echo tanggal_indonesia($data['tanggal_diangkat'])?></td>
    </tr>
    <tr>
        <th>Pendidikan Terakhir</th>
        <td>: <?php echo $jp[$data['jenjang_pendidikan_id']]?></td>
    </tr>
    <tr>
        <th>Status</th>
        <td>: <?php echo $sg[$data['status_guru_id']]?></td>
    </tr>
</table>
<br clear="all">
<?php echo anchor("staf/guru/","Kembali", array("class"=>"button")) ?>
